<?php

class Admin_Model_DbTable_Contact extends Zend_Db_Table_Abstract
{

    protected $_name = 'contact';
	
    public function addContact($object_id,$name,$company_name,$phone,$email,$description,$address,$createdate,$detail,$status){
    	$data = array(
    			'OBJECT_ID' => $object_id,
    			'NAME' => $name,
    			'COMPANY_NAME' => $company_name,
    			'PHONE' => $phone,
    			'EMAIL' => $email,
    			'DESCRIPTION' => $description,
    			'ADDRESS' => $address,
    			'CREATEDATE' => $createdate,
    			'DETAIL' => $detail,
    			'STATUS' => $status	
		);
    	return $this->insert($data);
    }

}

